package com.mall.product.service.impl;


import com.mall.common.domain.MallProductType;
import com.mall.product.service.ProductTypeService;

import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * @author wangy
 * @version 1.0
 * @description: TODO
 */
@Service
public class ProductTypeServiceImpl implements ProductTypeService {

    @Resource
    private RedisTemplate<String,String> redisTemplate;
    @Override
    public List<MallProductType> productTypeAll() {
        String type = redisTemplate.opsForList().leftPop("type");

        return null;
    }
}
